<!DOCTYPE html>
<html>
<head lang="en">
    <meta charset="UTF-8">
    <title>数据绑定指令 include</title>
    <script src="angularjs/angular.min.js"></script>
    <script src="angular-sanitize/angular-sanitize.min.js"></script>
</head>
<body ng-app="doraApp">
    <div ng-controller="ctrl">
       <p ng-include="site"></p>
        <br/>
        <hr/>
        <br/>
        List: <textarea name="namesInput" ng-model="names" ng-list="&#10" ng-trim="false"></textarea>
        {{names}}
    </div>

    <script>
        angular.module("doraApp",["ngSanitize"])
                .controller("ctrl",function($scope){
                    $scope.site = "des.html";
                })
    </script>
</body>
</html>